package nl.boektrust.btsoep.server.wsdl;

import java.util.List;
import nl.boektrust.btsoep.server.wsdl.jaxws.SearchBooks;
import nl.boektrust.btsoep.server.wsdl.jaxws.SearchBooksResponse;

public class BrowseAdapter {
	private final BrowseWsdl browseWsdl = new BrowseWsdl();

	public SearchBooksResponse searchBooks(SearchBooks searchBooks) {
		searchBooks.getArg0();
		List<Book> ret = browseWsdl.searchBooks(searchBooks.getArg0(), searchBooks.getArg1(), searchBooks.getArg2(),
				searchBooks.getArg3());
		SearchBooksResponse searchBooksResponse = new SearchBooksResponse();
		searchBooksResponse.setReturn(ret);
		return searchBooksResponse;
	}
}
